package edu.dgut.bbssystem.pojo;

import java.util.Date;

public class Message {
    private Integer messageId;//消息ID

    private Integer messageTypeId;//消息类型

    private Integer senderId;//消息发出者

    private Integer receiverId;//接收者id

    private Integer alreadyIgnore;//是否已忽略

    private Integer alreadyRead;//是否已读取

    private Date messageTime;//消息时间

    private Integer postId;//帖子ID //评论时使用

    private Integer commentId;//被回复的评论ID

    private Integer floor;//楼层

    private Integer followId;//关注信息

    public Integer getMessageId() {
        return messageId;
    }

    public void setMessageId(Integer messageId) {
        this.messageId = messageId;
    }

    public Integer getMessageTypeId() {
        return messageTypeId;
    }

    public void setMessageTypeId(Integer messageTypeId) {
        this.messageTypeId = messageTypeId;
    }

    public Integer getSenderId() {
        return senderId;
    }

    public void setSenderId(Integer senderId) {
        this.senderId = senderId;
    }

    public Integer getReceiverId() {
        return receiverId;
    }

    public void setReceiverId(Integer receiverId) {
        this.receiverId = receiverId;
    }

    public Integer getAlreadyIgnore() {
        return alreadyIgnore;
    }

    public void setAlreadyIgnore(Integer alreadyIgnore) {
        this.alreadyIgnore = alreadyIgnore;
    }

    public Integer getAlreadyRead() {
        return alreadyRead;
    }

    public void setAlreadyRead(Integer alreadyRead) {
        this.alreadyRead = alreadyRead;
    }

    public Date getMessageTime() {
        return messageTime;
    }

    public void setMessageTime(Date messageTime) {
        this.messageTime = messageTime;
    }

    public Integer getPostId() {
        return postId;
    }

    public void setPostId(Integer postId) {
        this.postId = postId;
    }

    public Integer getCommentId() {
        return commentId;
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    public Integer getFloor() {
        return floor;
    }

    public void setFloor(Integer floor) {
        this.floor = floor;
    }

    public Integer getFollowId() {
        return followId;
    }

    public void setFollowId(Integer followId) {
        this.followId = followId;
    }
}